<?php
define('FSQL_TBL_UNSPECIFIED', 5);
define('FSQL_TABLE_EXISTS', 6);

class CreateTable_fauxSQL
{
  public function query($db_query)
  {
    if(empty($db_query['tbl_name']))
      return FSQL_TBL_UNSPECIFIED;

    # Does the table exist..? Let's see!
    if(file_exists($db_query['db']. '/'. $db_query['tbl_name']. '.ftbl'))
    {
      # Oops!
      return FSQL_TABLE_EXISTS;
    }
  }
}
?>